package com.xiaogao.serviceEdu.client;

import com.xiaogao.centerEdu.entity.UcenterMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author 小高
 * @createtime 2021-07-01-20:22
 * @description
 */
@Component
@FeignClient(name = "service-ucenter")
public interface UcenterClient {

    @PostMapping("/centerEdu/member/getInfo/{memberId}")
    public UcenterMember getInfo(@PathVariable("memberId")String memberId);
}
